package com.sky.service.admin;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sky.dto.EmployeeLoginDTO;
import com.sky.dto.PasswordEditDTO;
import com.sky.entity.Employee;

import java.util.Map;

public interface EmployeeService extends IService<Employee> {

    /**
     * 员工登录
     * @param employeeLoginDTO
     * @return
     */
    Employee login(EmployeeLoginDTO employeeLoginDTO);


    Map<String,Object> findAllPage(String name, Integer page, Integer pageSize);

    void editPassword(PasswordEditDTO passwordEditDTO);
}
